import requests

# 添加请求头
headers = {
    "accept-language": "zh-CN",  # 示例语言
    "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbktleSI6InVzZXI6and0OnBjOjI5MzgyMjk4Iiwic2FsdCI6ImRkNTNmMzUyODJkYTRmZTFiNTA0NzQzOV8yYTA5OmJhYzU6NTVmYzoxOGJlOjoyNzc6NzYiLCJsb2dpblR5cGUiOiJwYyIsInNlc3Npb25JZCI6InNoaXJvOnNlc3Npb246cGM6N2JhZmZhMmItZjkzMC00ZDlhLTg2M2ItM2I5NDZjYjQ2YTYzIiwidXNlck5hbWUiOiJ2YWd1ZW1vY2Nhc2luQHNvc2NhbmRpYS5vcmciLCJleHAiOjE3MzcxOTQ2MzQsInVzZXJJZCI6MjkzODIyOTh9.E8Njedm7EQv2UuamDsCaEzQXIyGoWieJ0AKBGi1nYfk",
}

req_body = {
    "code": "ZtugIB4a"
}

response = requests.post('https://api.superexchang.com/wallet/v3/wallet/red/packet/receive', headers=headers, json=req_body)
print(response.text)
